package com.chenlonghai.sbmybatis.service;

import java.beans.PropertyVetoException;
import java.io.IOException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import com.chenlonghai.sbmybatis.config.dao.DataSourceConfiguration;
import com.chenlonghai.sbmybatis.config.dao.SessionFactoryConfiguration;
import com.chenlonghai.sbmybatis.dao.CasesDao;
import com.chenlonghai.sbmybatis.entity.Cases;

public interface HoldingsService {

	  List<Cases>queryCases();
	  Cases queryCasesBy(int id);
	  boolean insertCase(Cases cases);
	  boolean updateCase(Cases cases);
	  boolean deleteCase(int id);
	
}
